#pragma once
#include <Winhttp.h>
#include "Http2.h"
#include "BinFx.h"
#include "String.h"

class HttpF2:public Http2{
public:
	uint	checksum;
	uint	version;

	HttpF2	(PTSTR,ushort);
	~HttpF2	(void);

private:
	TCHAR	agentBuf[MAX_PATH];
	String*	host;
	PTSTR	serialNum;
	PTSTR	agent(PTSTR,ushort);
	void	onCallback	(HINTERNET,uint,LPVOID,uint);
};